package server.business.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import server.business.mapper.BloodLocationMapper;
import server.business.pojo.BloodLocation;
import server.business.service.BloodLocationService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Galaxy
* @description 针对表【blood_location(血袋位置)】的数据库操作Service实现
* @createDate 2022-11-08 12:46:23
*/
@Service("bloodLocationService")
public class BloodLocationServiceImpl extends ServiceImpl<BloodLocationMapper, BloodLocation>
    implements BloodLocationService {

    @Autowired
    BloodLocationService bloodLocationService;

    /**
     * 查询数据
     *
     * @return {@link List}<{@link BloodLocation}>
     */
    public List<BloodLocation> queryData(){
        List<BloodLocation> list = bloodLocationService.list();
        return list;
    }
}




